package org.example.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.print.attribute.standard.PrinterURI;
import java.time.LocalDateTime;

@Data
public class GoodsDepositVo {
    private String id;

    private String cropId;

    private String cropName;

    private String warehouseName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime warehousingTime;

    private Integer warehousingNum;


    private Integer capacity;

}
